<?php
declare(strict_types=1);

namespace App\Constant;

class CacheKey
{
    public static $scoreKey = "score:";

    public static $userInfoUpdateCount = "user:user:count";

    public static $sysConfig = "sys:config:";

    public static $sourceType = [
        "iOS",
        "Android",
        "PC网站",
        "手机网站",
        "微信公众号",
        "微信小程序",
        "抖音小程序",
    ];

    /**
     * 百度ai缓存access_token
     * @var string
     */
    public static $baiduAiAccessToken = "baidu:ai:access_token";

    /**
     * 限流
     * @var string
     */
    public static $aiLimit = "ai:limit:";

    /**
     * 任务转漫画持久化队列
     */
    const  AiImageProcessQueue = "ai:image:process:queue";

    /**
     * flagstudio缓存access_token
     */
    const FlagStudioAccessToken = "flag:studio:access_token";

    /**
     * 多吉云OSS存储access_token
     */
    const DogCloudAccessToken = "dog:cloud:access_token";

    /**
     * 创作者近7日数据汇总
     */
    const AuthorCurrentWeek = "author:current:week";

    /**
     * 创作者数据汇总
     */
    const AuthorTotal = "author:total:";
}
